package edu.cueb.wmis.service;

import edu.cueb.wmis.pojo.Admin;
import com.baomidou.mybatisplus.extension.service.IService;
import edu.cueb.wmis.pojo.RespBean;
import edu.cueb.wmis.pojo.Role;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author liuzizhuo
 * @since 2021-04-19
 */
public interface IAdminService extends IService<Admin> {

    String getNameById(Integer aid);

    RespBean login(String username, String password);

    public Admin getAdminByUserName(String username);

    public List<Role> getRoles(Integer adminID);
}
